package com.ck.ips.model.vo;

import java.io.Serializable;

/**
* @Description: 树形结构VO
* @Author: hf
* @Date:    2019/5/8 16:38
* @Version: 1.0
*/
public class TreeVO implements Serializable {
    /** 主键 */
    private Long id;
    /** 父节点主键 */
    private String parentId;
    /** 名称 */
    private String name;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "TreeVO{" +
                "id=" + id +
                ", parentId='" + parentId + '\'' +
                ", name='" + name + '\'' +
                '}';
    }
}
